/** Copyright 2005-2015 Alfresco Software, Ltd.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/* Process instance / Process definition list */

.slide-animation-proc-def-list.ng-enter {
  -webkit-transition: 200ms cubic-bezier(0.25, 0.25, 0.75, 0.75) all;
  -moz-transition: 200ms cubic-bezier(0.25, 0.25, 0.75, 0.75) all;
  -ms-transition: 200ms cubic-bezier(0.25, 0.25, 0.75, 0.75) all;
  -o-transition: 200ms cubic-bezier(0.25, 0.25, 0.75, 0.75) all;
  transition: 200ms cubic-bezier(0.25, 0.25, 0.75, 0.75) all;
}

.slide-animation-proc-def-list.ng-enter {
  left: -100%;
}

.slide-animation-proc-def-list.ng-enter.slide-animation-proc-def-list.ng-enter-active {
  left: 0;
}

.proc-def-list {
  height: 100%;
  width: 100%;
  overflow: hidden;
  z-index: 2;
}
.proc-def-list {
  background-color: #ffffff;
  position: relative;
  float: left;
  width: 400px;
  margin-right: 20px;
  -webkit-box-shadow: 2px 2px 2px 0px rgba(220, 220, 220, 0.5);
  -moz-box-shadow: 2px 2px 2px 0px rgba(220, 220, 220, 0.5);
  box-shadow: 2px 2px 2px 0px rgba(220, 220, 220, 0.5);
}

.proc-inst-list > .list-header {
  height: 4rem;
}

.proc-inst-list > .list-subheader {
  height: 5rem;
}

/* Using the calc() stuff comes from Erik. Talk with him if you disagree. */
.proc-inst-list > .list-wrapper {
  height: calc(100% - 9rem);
}

/* Process instance details */

.process-instance-name {
  padding: 10px 3px 0 25px;
  width: 50%;
}

.no-form {
  margin: 100px auto;
  text-align: center;
  height: 200px;
  line-height: 200px;
  background-color: #dcdee2;
  border-radius: 5px;
  display: inline-block;
  width: 400px;
  position: relative;
  left: 50%;
  margin-left: -200px;
}

.transfer-target {
  position: absolute;
  background-color: #fff;
  list-style: none;
  padding: 0;
  min-width: 200px;
}
.transfer-target li {
  height: 30px;
  line-height: 30px;
}
.transfer-target li:hover {
  background-color: #f3f3f3;
}

.instance-main{
  margin-top: 50px;
  border-radius: 5px;
  border:1px solid #aad8f1;
  padding: 10px;
  box-shadow: 0 0 1.5px;
}
.setMar{
  margin-top: 10px;
  padding: 1px;
  margin-bottom: 20px;
  overflow-x: auto;
}
.instance-main h4{
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #aad8f1;
}
.instance-main p{
  margin-top: 10px;
}
.instance-detail{
  width:100%;
}
.instance-detail td:nth-child(even){
  width:32%;
  
}
.instance-detail td:nth-child(odd){
  width:18%;
  font-weight: bold;
}
.instance-main hr{
  border-top: 1px solid #aad8f1;
}

.activiti-table{
  border:1px solid #ccc;
  text-align: center;width:100%;
}
.activiti-tr{
  height: 34px;
  background-color: #eee;
}
.activiti-td{
  padding-top:10px;
}
.activiti-div{
  position: relative;
}
.activiti-div:first-child{
  margin-top:5px;
}
.activiti-input{
  width:100%;
  height: 34px; 
  border:none;
  border-top:1px solid #ccc;
}
.activiti-del-ico{
  position: absolute;
  top: 0px;
  right: -15px;
}
.activiti-add-ico{
  position: absolute;
  top: 13px;
  right: -17px;
}
.activiti-confirm-ico{
  position: absolute;
  top: 38px;
  right: -15px;
}
.activiti-add-input{
  width:100%;
  height: 34px; 
  border:none;
  border-top:1px solid #ccc;
}